# This batch file
# 1) creates the data as in Steenbergen Jones AJPS
# 2) estimates a hierarchical model via ML
# 3) estimates a hierarchical model via MCMC in JAGS


# uncomment this if you downloaded the original data, else use my supplied Stata dataset

# stata-mp -b do "genData.do"


# ML estimation
stata-mp -b do "Model1.do"


# MCMC estimation
R CMD BATCH Model2.R


